package org.jeecg.modules.news_order.service;

import org.jeecg.common.base.BaseMap;
import org.jeecg.modules.news_order.entity.NewsOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.vedio_order.entity.VedioOrder;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @Description: 资讯订单
 * @Author: jeecg-boot
 * @Date:   2025-07-05
 * @Version: V1.0
 */
public interface INewsOrderService extends IService<NewsOrder> {
    public BaseMap addByWeChat(NewsOrder newsOrder,String mchId);

    public BaseMap payByWeChat(String out_trade_no);

    public NewsOrder successPay(NewsOrder newsOrder);

    List<Map<String, Object>> listByWeChat(String beginDate, String endDate, String userId, String newsId,String status);

    public void payNotify(HttpServletRequest request, String mchId);
}
